﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ReportRoom.aspx.cs" Inherits="CMS.ReportRoom" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI, Version=2009.1.311.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div style="font-size: 26px; font-weight: bold; text-align: center;">BÁO CÁO PHÒNG CHƠI</div>
    <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1">
       
        <table>
            <tr>
                <td>Từ ngày :
        <telerik:RadDatePicker ID="txtFromDate" runat="server" Skin="Default" DateInput-DateFormat="MM/dd/yyyy"
            DateInput-DisplayDateFormat="dd/MM/yyyy">
        </telerik:RadDatePicker>
                </td>
                <td>Đến ngày :
        <telerik:RadDatePicker ID="txtToDate" runat="server" Skin="Default" DateInput-DateFormat="MM/dd/yyyy"
            DateInput-DisplayDateFormat="dd/MM/yyyy">
        </telerik:RadDatePicker>
                </td>
                <td>Phòng :<br/>
            <asp:DropDownList ID="drpRoom" runat="server">
                <asp:ListItem Value="0" Text="All"></asp:ListItem>
                <asp:ListItem Value="1" Text="Phòng 100"></asp:ListItem>
                <asp:ListItem Value="2" Text="Phòng 1000"></asp:ListItem>
                <asp:ListItem Value="3" Text="Phòng 10000"></asp:ListItem>
            </asp:DropDownList></td>
                <td>
                    <asp:Button ID="Button1" runat="server" Text="Xem" OnClick="Button1_Click" /></td>
            </tr>

        </table>

        <br />
        <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" AllowPaging="True" PageSize="20" GridLines="None" Width="100%" AutoGenerateColumns="false" OnPageIndexChanging="GridView1_PageIndexChanging">
            <Columns>
                <asp:BoundField HeaderText="Phòng" DataField="RoomID" DataFormatString="{0:n0}"></asp:BoundField>
                <asp:BoundField HeaderText="Số tài khoản" DataField="CountAccount" DataFormatString="{0:n0}"></asp:BoundField>
                <asp:BoundField HeaderText="Số lượt quay" DataField="CountBet" DataFormatString="{0:n0}"></asp:BoundField>
                <asp:BoundField HeaderText="Tổng tiền" DataField="SUMBetMoney" DataFormatString="{0:n0}"></asp:BoundField>
                <asp:BoundField HeaderText="Tổng tiền trả" DataField="SUMWinMoney" DataFormatString="{0:n0}"></asp:BoundField>
                <asp:BoundField HeaderText="Lợi nhuận" DataField="SUMProfitMoney" DataFormatString="{0:n0}"></asp:BoundField>
            </Columns>

            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            <EditRowStyle BackColor="#999999" />
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        </asp:GridView>

    </telerik:RadAjaxPanel>
</asp:Content>
